package com.qigao.mall.web;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@ComponentScan("com.qigao.mall")
@MapperScan(value = {"com.qigao.mall.jdbc.mapper"})
@EnableTransactionManagement
@EnableScheduling
@EnableCaching
public class MarketWebApplication {

    public static void main(String[] args) {
        SpringApplication.run(MarketWebApplication.class, args);
    }

}
